#在结束后播放$(anim)
scoreboard players remove @s anim_timer 1
execute as @s[scores={anim_timer=1..}] run return fail
$function vs:system/game_ctrol/guard_tower/anim/play {anim:"$(anim)"}